# 主窗口样式
MAIN_WINDOW_STYLE = """
    QMainWindow {
        background-color: white;
    }
    QPushButton#nav_button {
        border: none;
        padding: 15px;
        padding-left: 25px;
        text-align: left;
        font-size: 14px;
        font-family: "Microsoft YaHei", "SimHei", sans-serif;
        color: #666;
        background-color: transparent;
        border-left: 3px solid transparent;
    }
    QPushButton#nav_button:hover {
        background-color: rgba(0, 0, 0, 0.05);
        color: #333;
    }
    QPushButton#nav_button:checked {
        background-color: rgba(0, 0, 0, 0.08);
        color: #007bff;
        font-weight: bold;
        border-left: 3px solid #007bff;
    }
    QFrame#nav_bar {
        background-color: #fafbfc;
        border-right: 1px solid #eaecef;
    }
    QLabel#page_title {
        color: #24292e;
        font-size: 18px;
        font-family: "Microsoft YaHei", "SimHei", sans-serif;
        font-weight: bold;
        padding: 20px;
    }
"""

# 设置页面样式
SETTINGS_FORM_STYLE = """
    QWidget {
        background-color: #f6f8fa;
        border-radius: 6px;
        padding: 20px;
    }
    QLabel {
        color: #57606a;
        font-size: 13px;
        font-family: "Microsoft YaHei", "SimHei", sans-serif;
    }
    QTimeEdit, QDoubleSpinBox {
        background-color: white;
        border: 1px solid #d0d7de;
        border-radius: 4px;
        padding: 5px;
        min-height: 25px;
        color: #24292e;
        font-family: "Microsoft YaHei", "SimHei", sans-serif;
        font-size: 13px;
    }
    QTimeEdit:focus, QDoubleSpinBox:focus {
        border-color: #0969da;
        outline: none;
    }
"""

# 计时器页面样式
AMOUNT_WIDGET_STYLE = """
    QWidget {
        background-color: #f6f8fa;
        border-radius: 6px;
        padding: 15px;
    }
    QLabel {
        font-family: "Microsoft YaHei", "SimHei", sans-serif;
    }
"""

TIME_WIDGET_STYLE = """
    QWidget {
        background-color: #f6f8fa;
        border-radius: 6px;
        padding: 20px;
    }
    QLabel {
        font-family: "Microsoft YaHei", "SimHei", sans-serif;
    }
    QLabel[type="title"] {
        color: #57606a;
        font-size: 13px;
        padding-bottom: 5px;
    }
    QLabel[type="value"] {
        font-size: 28px;
        font-weight: bold;
        min-height: 36px;
    }
"""

# 按钮样式
START_BUTTON_STYLE = """
    QPushButton {
        background-color: #0969da;
        color: white;
        border: none;
        border-radius: 6px;
        padding: 0 20px;
        font-family: "Microsoft YaHei", "SimHei", sans-serif;
    }
    QPushButton:hover {
        background-color: #0859c6;
    }
    QPushButton:pressed {
        background-color: #0749b0;
    }
"""

STOP_BUTTON_STYLE = """
    QPushButton {
        background-color: #dc3545;
        color: white;
        border: none;
        border-radius: 6px;
        padding: 0 20px;
        font-family: "Microsoft YaHei", "SimHei", sans-serif;
    }
    QPushButton:hover {
        background-color: #c82333;
    }
    QPushButton:pressed {
        background-color: #bd2130;
    }
"""

SAVE_BUTTON_STYLE = """
    QPushButton {
        background-color: #2da44e;
        color: white;
        border: none;
        border-radius: 6px;
        font-size: 14px;
        font-family: "Microsoft YaHei", "SimHei", sans-serif;
    }
    QPushButton:hover {
        background-color: #2c974b;
    }
    QPushButton:pressed {
        background-color: #298e46;
    }
""" 